package com.ling.rocketmq.properties;


import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties("ling.rocketmq.consumer")
public class ConsumerProperties {

    private String groupName;

    private int consumeMessageBatchMaxSize = 10;

    private int maxReconsumeTimes = 16;

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public int getConsumeMessageBatchMaxSize() {
        return consumeMessageBatchMaxSize;
    }

    public void setConsumeMessageBatchMaxSize(int consumeMessageBatchMaxSize) {
        this.consumeMessageBatchMaxSize = consumeMessageBatchMaxSize;
    }

    public int getMaxReconsumeTimes() {
        return maxReconsumeTimes;
    }

    public void setMaxReconsumeTimes(int maxReconsumeTimes) {
        this.maxReconsumeTimes = maxReconsumeTimes;
    }
}
